#include <iostream>
#include "OperationMode_ECB.hpp"

OperationMode_ECB::OperationMode_ECB(Algorithm &system) : OperationMode(system) {
}

Block OperationMode_ECB::encrypt(const Block &plaintext) {
	// FIXME: implemement this

	Block ciphertext = system.encrypt(plaintext);
	
	return ciphertext;
}

Block OperationMode_ECB::decrypt(const Block &ciphertext) {
	// FIXME: implemement this

	Block plaintext = system.decrypt(ciphertext);

	return plaintext;
}


